﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HongStone.Domain.PerformanceModel
{
    /// <summary>
    /// 考核任务
    /// </summary>
    [Table("TheAssessmentTask")]
    public class TheAssessmentTask
    {
        /// <summary>
        /// 任务编号
        /// </summary>
        [Key,DatabaseGenerated(DatabaseGeneratedOption.None)]
        public string ItemNumber { get; set; }
        /// <summary>
        /// 起始时间
        /// </summary>
        public DateTime StartingTime { get; set; }
        /// <summary>
        /// 截止时间
        /// </summary>
        public DateTime Deadline { get; set; }
        /// <summary>
        /// 备注信息
        /// </summary>
        public string Postscript { get; set; }
        /// <summary>
        /// 项目考核
        /// </summary>
        public int ProjectCheckId { get; set; } = 0;
        /// <summary>
        /// 部门考核
        /// </summary>
        public int DepartmentAppId { get; set; } = 0;
        /// <summary>
        /// 归档
        /// </summary>
        public int Pigeonhole { get; set; } = 0;
    }
}
